import '../ui_demo01.dart' as demo01;
import '../ui_demo02.dart' as demo02;
import '../ui_demo03.dart' as demo03;
import '../ui_demo04.dart' as demo04;
import '../ui_demo05.dart' as demo05;
import '../ui_demo06.dart' as demo06;
import '../ui_demo07.dart' as demo07;
import '../ui_demo08.dart' as demo08;
import '../ui_demo09.dart' as demo09;
import '../ui_demo10.dart' as demo10;
import '../ui_demo11.dart' as demo11;
import '../ui_demo12.dart' as demo12;
import '../ui_demo13.dart' as demo13;
import '../ui_demo14.dart' as demo14;
import '../ui_demo15.dart' as demo15;
import '../ui_demo16.dart' as demo16;
import '../ui_demo17.dart' as demo17;
import '../ui_demo18.dart' as demo18;
import '../ui_demo19.dart' as demo19;
import '../ui_demo20.dart' as demo20;
import '../ui_demo21.dart' as demo21;
import '../ui_demo22.dart' as demo22;
import '../ui_demo23.dart' as demo23;
import '../ui_demo24.dart' as demo24;
import '../ui_demo25.dart' as demo25;
import '../ui_demo26.dart' as demo26;
import '../ui_demo27.dart' as demo27;
import '../ui_demo28.dart' as demo28;
import '../ui_demo29.dart' as demo29;
import '../ui_demo30.dart' as demo30;
import '../ui_demo.dart';
enum ImageDemoType{
  NETWORK,ASSETS
}
class ImageDemo{
  final String name;
  final String author;
  final String desc;
  final String url;
  final ImageDemoType type;
  ImageDemo({this.name="",this.author="",this.desc="",this.url="",this.type});
}
List<Demo> demos=[
  demo01.MyDemo("1.FloatingActionButton(浮动按钮)"),
  demo02.MyDemo("2.ListView(列表)"),
  demo03.MyDemo("3.TabBar(导航)"),
  demo04.MyDemo("4.BoxDecoration(效果)"),
  demo05.MyDemo("5.LayoutDemo(布局)"),
  demo06.MyDemo("6.PageView&GridView(视图)"),
  demo07.MyDemo("7.SliverGrid&SliverList(视图)"),
  demo08.MyDemo("8.MaterialPageRoute(路由)"),
  demo09.MyDemo("9.Form(表单)"),
  demo10.MyDemo("10.Button(按钮)"),
  demo11.MyDemo("11.Dialog(对话框)"),
  demo12.MyDemo("12.DataTable(表格视图)"),
  demo13.MyDemo("13.Card(卡片视图)"),
  demo14.MyDemo("14.Steper(步骤视图)"),
  demo15.MyDemo("15.State(状态)"),
  demo16.MyDemo("16.InheritiedWidget(继承部件)"),
  demo17.MyDemo("17.ScopedModel(状态管理框架)"),
  demo18.MyDemo("18.Stream(流)"),
  demo19.MyDemo("19.RxDart(Rx框架)"),
  demo20.MyDemo("20.Bloc(bloc框架)"),
  demo21.MyDemo("21.http(网络数据请求)"),
  demo22.MyDemo("22.Animation(动画)"),
  demo23.MyDemo("23.Camera(相机调用)"),
  demo24.MyDemo("24.shared_preferences(数据存储)"),
  demo25.MyDemo("25.local(本机环境)"),
  demo26.MyDemo("26.webview(浏览器)"),
  demo27.MyDemo("27.人脸识别"),
  demo28.MyDemo("28.NFC"),
  demo29.MyDemo("29.录音"),
  demo30.MyDemo("30.本地相册"),
];
List<ImageDemo> imagesList=[
  ImageDemo(name:"图片1",author: "作者1",desc: "描述1",url: "1.jpg",type: ImageDemoType.ASSETS),
  ImageDemo(name:"图片2",author: "作者2",desc: "描述2",url: "2.jpg",type: ImageDemoType.ASSETS),
  ImageDemo(name:"图片3",author: "作者3",desc: "描述3",url: "3.jpg",type: ImageDemoType.ASSETS),
  ImageDemo(name:"图片4",author: "作者4",desc: "描述4",url: "4.jpg",type: ImageDemoType.ASSETS),
  ImageDemo(name:"图片5",author: "作者5",desc: "描述5",url: "5.png",type: ImageDemoType.ASSETS),
  ImageDemo(name:"图片6",author: "作者6",desc: "描述6",url: "6.jpg",type: ImageDemoType.ASSETS),
  ImageDemo(name:"图片7",author: "作者7",desc: "描述7",url: "7.jpg",type: ImageDemoType.ASSETS),
];
List<ImageDemo> imagesList2=[
  ImageDemo(name:"夏日西柚无缝背景",author: "Lina",desc: "Esse ut nulla velit reprehenderit veniam sint nostrud nulla exercitation ipsum. Officia deserunt aliquip aliquip excepteur e",url: "http://img.lanrentuku.com/img/allimg/1904/15554203773537.jpg",type: ImageDemoType.NETWORK),
  ImageDemo(name:"坐满学生的校车",author: "Lily",desc: "Esse ut nulla velit reprehenderit veniam sint nostrud nulla exercitation ipsum. Officia deserunt aliquip aliquip excepteur e",url: "http://img.lanrentuku.com/img/allimg/1904/15554212848309.jpg",type: ImageDemoType.NETWORK),
  ImageDemo(name:"创意夏季猕猴桃",author: "Watch",desc: "Esse ut nulla velit reprehenderit veniam sint nostrud nulla exercitation ipsum. Officia deserunt aliquip aliquip excepteur e",url: "http://img.lanrentuku.com/img/allimg/1903/15539985591791.jpg",type: ImageDemoType.NETWORK),
  ImageDemo(name:"黄色玫瑰花婚礼邀请卡",author: "Luck",desc: "Esse ut nulla velit reprehenderit veniam sint nostrud nulla exercitation ipsum. Officia deserunt aliquip aliquip excepteur e",url: "http://img.lanrentuku.com/img/allimg/1904/15554211325599.jpg",type: ImageDemoType.NETWORK),
  ImageDemo(name:"夏季柠檬",author: "Jack",desc: "Esse ut nulla velit reprehenderit veniam sint nostrud nulla exercitation ipsum. Officia deserunt aliquip aliquip excepteur e",url: "http://img.lanrentuku.com/img/allimg/1904/155542022967.jpg",type: ImageDemoType.NETWORK),
  ImageDemo(name:"荷",author: "Swift",desc: "Esse ut nulla velit reprehenderit veniam sint nostrud nulla exercitation ipsum. Officia deserunt aliquip aliquip excepteur e",url: "https://pic.ibaotu.com/01/35/39/25x888piCEQy.jpg-0.jpg!ww700",type: ImageDemoType.NETWORK),
  ImageDemo(name:"花卉",author: "Amani",desc: "Esse ut nulla velit reprehenderit veniam sint nostrud nulla exercitation ipsum. Officia deserunt aliquip aliquip excepteur e",url: "http://img.pptjia.com/image/20180120/1f80337d21aa2756f631f81aee2d5b35.jpg",type: ImageDemoType.NETWORK),
];
